package com.itheima.pojo;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @author 刘全
 * @date 2021/9/13
 */
@Component
public class Log {
    private Date date;
    private String message;


    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Log{" +
                "date=" + date +
                ", message='" + message + '\'' +
                '}';
    }
}
